package com.swt.gap.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel
public class Task {

    @ApiModelProperty(value = "任务id")
    private Integer taskId;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "任务目标")
    private String taskTarget;

    @ApiModelProperty(value = "任务描述")
    private String description;

    private Date startTime;

    private Date endTime;

    @ApiModelProperty(value = "任务状态：1进行中，0已结束")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;


    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建者id")
    private Integer createdBy;

    private Boolean deleted;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "是否有密码")
    private Boolean hasPassword;

}